package com.zsrt.java.day20170103.wrl.t07.abs;

public class Worker extends Persion {

	public Worker() {
		
	}
	public Worker(String name, int age, float salary) {
		super(name, age);
		this.salary = salary;
	}
	private float salary;
	@Override
	public String getContent() {
		return "工人信息:==>>姓名："+super.getName()+" 年龄："+super.getAge()+" 工资："+this.salary;
	}

}
